package com.ruoyi.project.system.appuser.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 软件用户对象 app_user
 * 
 * @author ruoyi
 * @date 2021-05-27
 */
public class AppUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 网站icon地址 */
    @Excel(name = "网站icon地址")
    private String iconUrl;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String name;

    /** 应用地址 */
    @Excel(name = "应用地址")
    private String url;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 添加的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 手机型号 */
    @Excel(name = "手机型号")
    private String paltform;

    /** 手机识别码 */
    @Excel(name = "手机识别码")
    private String imei;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 是否删除：0存在 1删除 */
    @Excel(name = "是否删除：0存在 1删除")
    private String delFlag;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mail;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIconUrl(String iconUrl)
    {
        this.iconUrl = iconUrl;
    }

    public String getIconUrl()
    {
        return iconUrl;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setAddtime(Date addtime)
    {
        this.addtime = addtime;
    }

    public Date getAddtime()
    {
        return addtime;
    }
    public void setPaltform(String paltform)
    {
        this.paltform = paltform;
    }

    public String getPaltform()
    {
        return paltform;
    }
    public void setImei(String imei)
    {
        this.imei = imei;
    }

    public String getImei()
    {
        return imei;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setMail(String mail)
    {
        this.mail = mail;
    }

    public String getMail()
    {
        return mail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("iconUrl", getIconUrl())
            .append("name", getName())
            .append("url", getUrl())
            .append("userId", getUserId())
            .append("addtime", getAddtime())
            .append("paltform", getPaltform())
            .append("imei", getImei())
            .append("phone", getPhone())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("mail", getMail())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
